package online.xuping.thousandsOfWorlds.thousandsOfWorlds.service;

import online.xuping.thousandsOfWorlds.thousandsOfWorlds.domain.HexagonalElementDomain;

import java.util.List;

/**
 * 类描述:    .
 *
 * @author xuping
 * 创建时间:  [2023/10/24 16:21]
 */
public interface IHexagonService {
    /**
     * 获取六边形元素
     * @param q
     * @param r
     * @return
     */
    HexagonalElementDomain getHexagonalElementDomain(Long q, Long r);

    /**
     * 获取六边形元素的邻居
     */
    List<HexagonalElementDomain> getNeighbor(HexagonalElementDomain hexagonalElementDomain);
}
